package com.code.day17JiHe.Stream;

import java.util.stream.Stream;

public class Test04 {
    public static void main(String[] args) {
        Stream<String> stream = Stream.of("张三三", "李四", "王五", "赵六", "孙七");
        stream.filter(s -> s.length() == 3).forEach(s -> System.out.println(s)
        );
    }
}
